home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
007
/
printcom.arc
/
PRINTCOM.DOC
next >
Wrap
Text File
|
1987-01-31
|
4KB
|
97 lines
RCB Systems, Inc.
P.O. Box 192
Bergenfield, N.J. 07621
January 31, 1987
Content:
PRINTCOM.EXE
PRINTCOM.DOC
Purpose:
To provide an easy way to do a printer setup by
creating "COM" files which can be executed at the DOS
command line.
Syntax:
PRINTCOM filespec
where filespec is the new name of the setup
file to be created (do not include the COM
extension).
Execution:
When executed off the DOS line, PRINTCOM.COM will
read the filespec parameter and will proceed to create
a template with a ".DAT" extension with the sequence
code given it. The sequence codes are to be entered
individually (no stringing allowed) and there can be
any number of sequence codes inputted.
Example:
According to the Epson manual, the ESCAPE code
must be sent to the printer before the italic
command (27 52 or ESC 4 or CHR$27CHR$52). At the
program prompt, simply hit a "27", <ENTER>, then
a "52", then <ENTER>. A more graphic example:
Enter character or 2-3 digit numbers for ASCII code:> 27
Enter character or 2-3 digit numbers for ASCII code:> 52
The ASCII codes and decimal codes can be intermixed
as long it is done in the proper order.
After the sequence codes have been entered just hit the
<ENTER> one more time, and you will get a message saying
that a BAT file has been created, and that you need to
have DEBUG.COM handy (on your second DOS diskette).
At that point, simply type in the name of the BAT file
and execute it. Don't worry if there is message "Batch
file missing". It simply means that the batch file that
was created deleted itself.
Practical applications:
You can set up the printer any way you want by
calling a previously created COM printer file that
has been created by PRINTCOM.EXE. This can be run
in your AUTOEXEC.BAT or in any batch files leading
to your favorite word processor or from a menu of
your creation. In fact, you can even reinitialize
your printer as long as your printer supports the
reset code. (In the EPSON mode, it is the sequence
27,@)
A fun way to start is to try out the Microprint fea-
ture I believe almost any dot-matrix printer can
support. Try the sequence:
27,83,0,27,15,27,51,15,27,78,6
remembering to hit the <ENTER> key where the commas
are shown.
Request:
This is not exactly shareware. I do believe that
shareware is, well, just that. Aspiring artists
need to be encouraged along in their pursuit of
excellence in the software arts, and I am no ex-
ception. All I ask is for you to drop a line
to my PO box listed above tell me how much you
like the program. If you feel that it has
improved the way you do things on the computer
and want to use it on a regular basis a
contribution of $2.00 would be appreciated.
This would pay for my time and the compiler
(Quickbasic 2.0) that I shelled out my hard-earned
dollars for.
Richard Baudisch Jr.